import Layout from '@/layout'

const AnswerRouter = {
  path: '/answer',
  component: Layout,
  redirect: 'answer',
  name: 'Answer',
  meta: {
    title: '问答',
    icon: 'el-icon-s-tools'
  },
  children: [
    {
      path: 'answer',
      component: () => import('@/views/answer/keyboard'),
      name: 'KeyboardChart',
      meta: { title: '问答标签', noCache: true }
    },
    {
      path: 'line',
      component: () => import('@/views/answer/line'),
      name: 'LineChart',
      meta: { title: '问答列表', noCache: true }
    },
    {
      path: 'line',
      component: () => import('@/views/answer/line'),
      name: 'LineChart',
      meta: { title: '问答回答列表', noCache: true }
    }
  ]
}
export default AnswerRouter
